<template>
	<view class="content">
		<view class="block background">
			<view class="iconfont icon-anquan"></view>
			<view class="text">时刻保护您的隐私安全</view>
		</view>
		<view class="block menu-block">
			<view class="menu-item annotation">
				<view class="text">
					<view class="title">屏蔽公司</view>
					<view class="annotation">您可以屏蔽HR或指定的公司</view>
				</view>
				<view class="arrow iconfont icon-gengduo1"></view>
			</view>
			<view class="menu-item annotation">
				<view class="text">
					<view class="title">建议联系时间</view>
				</view>
				<view class="arrow iconfont icon-gengduo1"></view>
			</view>
			<view class="menu-item switch">
				<view class="text">
					<view class="title">手机隐私保护</view>
				</view>
				<switch class="switch" color="#0256FF"></switch>
			</view>
			<view class="menu-item switch">
				<view class="text">
					<view class="title">真实姓名保护</view>
					<view class="annotation">开启后，将不对外展示真实姓名</view>
				</view>
				<switch class="switch" color="#0256FF"></switch>
			</view>
			<view class="menu-item switch">
				<view class="text">
					<view class="title">浏览记录隐私保护</view>
					<view class="annotation">开启后，招牌方不会知道你浏览了TA的职位</view>
				</view>
				<switch class="switch" color="#0256FF"></switch>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		}
	}
</script>

<style lang="scss">
	page {
		background: #FAFAFA;
	}

	.content {
		width: 100%;
		padding: 30rpx;

		.block {
			width: 100%;
			border-radius: 20rpx;
			margin-bottom: 30rpx;
		}

		.background {
			height: 250rpx;
			background: #0256FF;
			color: #fff;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			flex-wrap: wrap;

			.iconfont {
				font-size: 88rpx;
			}

			.text {
				font-size: 38rpx;
				margin-top: 20rpx;
			}
		}

		.menu-block {
			padding: 0 30rpx;
			display: flex;
			flex-direction: column;
			background: #fff;

			.menu-item {
				width: 100%;
				border-bottom: 1px solid #efefef;
				height: 100rpx;
				display: flex;
				flex-direction: row;
				align-items: center;
				padding: 10rpx 0;

				.text {
					display: flex;
					flex-direction: column;
					justify-content: center;
					width: calc(100% - 90rpx);

					.title {
						font-weight: bold;
						color: #313131;
						font-size: 32rpx;
					}

					.annotation {
						color: #999;
						font-size: 24rpx;
						margin-top: 6rpx;
					}
				}

				.arrow {
					width: 90rpx;
					color: #ccc;
					text-align: right;
				}

				.switch {
					transform: scale(0.8);
				}
			}

			.menu-item:last-child {
				border: none;
			}
		}
	}
</style>